<!DOCTYPE html>
<html lang="en" class="construction">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta name="description" content="<%=htmlWebpackPlugin.options.chainInfo.description%>">
  <link rel="shortcut icon" type="image/x-icon" href="../../static/img/favicon.ico" />
  <title>
    <%=htmlWebpackPlugin.options.chainInfo.title %>
  </title>
</head>

<body class="construction">
  <!--nav-->
  <%= require('../tpl/nav.ejs')({resolve:'../',path:htmlWebpackPlugin.options.path,htmlWebpackPlugin}) %>
    <!-- 参数 -->
    <!-- <p id="chainID" style="display: none">
      <%= htmlWebpackPlugin.options.ID%>
    </p> -->
    <section class="container">
      <header class="row justify-content-md-center">
        <div class="col-md-10">
          <div class="logo">
            <img src="<%=htmlWebpackPlugin.options.chainInfo.logo%>" width="100%">
          </div>
          <h1>
            <%=htmlWebpackPlugin.options.chainInfo.name%>
              <%=htmlWebpackPlugin.options.i18n.wallet%>
          </h1>
          <p>
            <%=htmlWebpackPlugin.options.i18n.chain_des1%>
              <%=htmlWebpackPlugin.options.chainInfo.displayname%>
                <%=htmlWebpackPlugin.options.i18n.chain_des2%>
          </p>
          <ul class="download-btn">
            <!-- APP -->
            <% if (htmlWebpackPlugin.options.chainInfo.isAndroid==1) {%>
              <%= require('../tpl/app/app.ejs')({resolve:'../',i18n:htmlWebpackPlugin.options.i18n,lang:htmlWebpackPlugin.options.lang}) %>
                <% }%>
                  <!-- Extension -->
                  <% if (htmlWebpackPlugin.options.chainInfo.isExtension==1) {%>
                    <li>
                      <a target="_blank" href="https://chrome.google.com/webstore/detail/math-wallet/afbcbjpbpfadlkmhmclhkeeodmamcflc">
                        <img src="../../static/img/icon/forchrome.png" width="24">
                        <span><%=htmlWebpackPlugin.options.i18n.browser_chrome%></span>
                      </a>
                    </li>
                    <% }%>
                      <!-- Webwallet -->
                      <% if (htmlWebpackPlugin.options.chainInfo.isWebwallet==1) {%>
                        <li>
                          <a target="_blank" href="<%=htmlWebpackPlugin.options.chainInfo.webUrl%>">
                            <img src="../../static/img/icon/logo-white.png" width="24">
                            <%=htmlWebpackPlugin.options.i18n.web_wallet%>
                          </a>
                        </li>
                        <% }%>
          </ul>
        </div>
      </header>
      <article class="row justify-content-md-center">
        <div class="col-md-10 content">
          <h2>
            <%=htmlWebpackPlugin.options.i18n.about_math%>
          </h2>
          <p>
            <%=htmlWebpackPlugin.options.i18n.about_mathwallet%>
          </p>
          <%=htmlWebpackPlugin.options.chainInfo.text%>
        </div>
      </article>
    </section>
    <!-- 底部 -->
    <footer>
      <div class="container clearfix">
        <div class="float-right">
          <div class="public-chain">
            <h4>
              <%=htmlWebpackPlugin.options.i18n.publicChain%>
            </h4>
            <ul class="clearfix">
              <%htmlWebpackPlugin.options.config.supportChain.forEach(function(item){%>
                <li>
                  <% if(item.ID){%>
                    <a href="../../<%=item.name.replace(/\s*/g,'').toLowerCase()%>-wallet/<%=htmlWebpackPlugin.options.lang%>" target="_blank">
                      <%=item.name%>
                    </a>
                    <%}else{%>
                      <%=item.name%>
                        <%}%>
                </li>
                <%})%>
            </ul>
          </div>
        </div>
        <div class="float-right">
          <div class="contact">
            <a href="mailto:labs@mathwallet.org"><img src="../../static/img/foot/sns_icon_email@2x.png" width="32"></a>
            <a href="<%=htmlWebpackPlugin.options.i18n.telegram_link%>" target="_blank"><img src="../../static/img/foot/sns_icon_telegram@2x.png" width="32"></a>
            <a href="https://github.com/mathwallet" target="_blank"><img src="../../static/img/foot/sns_icon_github@2x.png" width="32"></a>
          </div>
          <div class="copyright">
            <p>© 2019 Math Global Co., Ltd. All rights reserved.</p>
          </div>
        </div>
      </div>
      </div>
    </footer>
</body>

</html>